Skip to content

Add porosity_threshold function to find percolation threshold #1091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 24, 2025

Conversation

jgostick
Copy link
Member

@jgostick jgostick commented Jun 21, 2025

This adds 3 functions:

  • find_porosity_threshold erodes the void space until the void space no longer percolates, yielding the percolation threshold
  • is_percolating simply answers the question if the domain percolates or not
  • percolating_porosity computes the porosity of just the percolating portion of the image

Copy link

codecov bot commented Jun 21, 2025

Codecov Report

Attention: Patch coverage is 97.01493% with 2 lines in your changes missing coverage. Please review.

Project coverage is 68.2%. Comparing base (751232d) to head (84fb994).
Report is 11 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##             dev   #1091     +/-   ##
=======================================
+ Coverage   66.7%   68.2%   +1.5%     
=======================================
  Files         43      42      -1     
  Lines       6149    6104     -45     
=======================================
+ Hits        4102    4166     +64     
+ Misses      2047    1938    -109     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jgostick jgostick merged commit 7f2a01a into dev Jun 24, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant